package cn.fuego.busrental.ui.StyleTour;

import java.util.ArrayList;
import java.util.List;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import cn.fuego.busrental.R;
import cn.fuego.busrental.ui.TraveOrder.TravelOrdelInfoActivity;
import cn.fuego.misp.ui.list.MispListActivity;

public class SearchNearPlayActivity extends MispListActivity<String> {

	private List<String> list=new ArrayList<String>();
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
	}
	public static void jump(Context context)
	{
		Intent intent = new Intent();
		intent.setClass(context, SearchNearPlayActivity.class);		
		context.startActivity(intent);
	}

	@Override
	public void initRes() {
		this.activityRes.setAvtivityView(R.layout.activity_search_near_play);
		this.listViewRes.setListView(R.id.seach_nearby_play_list);
		this.listViewRes.setListItemView(R.layout.item_near_play);
		list.add("1");
		list.add("1");
		list.add("1");
		list.add("1");
		this.refreshList(list);
	}



	@Override
	public View getListItemView(View view, String item) {
		// TODO Auto-generated method stub
		return view;
	}
	@Override
	public void onItemListClick(AdapterView<?> parent, View view, long id,
			String item) {
	TravelOrdelInfoActivity.jump(this);
	}
	
}
